﻿using System;
using System.Collections.Generic;
using System.Text;
using ZhongJia.Lock.Infrastructure.Models;

namespace ZhongJia.Lock.Core.Domain
{
    public class LockDevice : EntityBase
    {
        public Guid CommunityId { get; set; }

        public virtual Community Community { get; set; }

        public string SerialNumber { get; set; }

        public bool IsGate { get; set; }

        public string UnitName { get; set; }

        public bool IsForICCard { get; set; }

        public bool IsDelete { get; set; }

        public ICollection<LockDeviceICCardMap> ICCardMaps { get; set; } = new HashSet<LockDeviceICCardMap>();
    }
}
